<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>登录</title>
    <!-- 引入 WeUI -->
    <link rel="stylesheet" href="/web-finance/style/weui.min.css">
    <link rel="stylesheet" href="/web-finance/example/example.css">
    <script src="/web-finance/example/zepto.min.js"></script>
    <style type="text/css">object,embed{                -webkit-animation-duration:.001s;-webkit-animation-name:playerInserted;                -ms-animation-duration:.001s;-ms-animation-name:playerInserted;                -o-animation-duration:.001s;-o-animation-name:playerInserted;                animation-duration:.001s;animation-name:playerInserted;}                @-webkit-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}                @-ms-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}                @-o-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}                @keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}</style>
</head>
<body ontouchstart>
    <!-- 使用 WeUI -->
    <div class="page input js_show">
    <div class="page__hd">
        <h1 class="page__title" style = "font-size:30px; text-align:center">建设经营负责人资金秘书</h1>
        <!--  <p class="page__desc">登 入</p>  -->
    </div>
    <form th:action="@{/acl}" method="post">
    <div class="weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">用户名</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" name="user" type="text" placeholder="请输入金蝶EAS用户名">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" name="password" type="password" placeholder="请输入金蝶EAS密码">
                </div>
            </div>
        </div>
        </form>
        <div class="weui-btn-area">
            <a class="weui-btn weui-btn_primary" href="javascript:" id="btn_login">登录</a>
        </div>
	</div>
	
	<div class="page msg_warn js_show" th:if="${not #strings.isEmpty(msg)}">
    <div class="weui-msg">
        <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
        <div class="weui-msg__text-area">
            <h2 class="weui-msg__title" data-th-text = "${msg}">操作失败</h2>
            <p class="weui-msg__desc">如有问题请联系管理员。<a href="tel:057688816988">拨打电话</a></p>
        </div>
        <div class="weui-msg__opr-area">
            <p class="weui-btn-area">
                <a href="javascript:history.back();" class="weui-btn weui-btn_primary">重新登录</a>
                <!-- <a href="javascript:history.back();" class="weui-btn weui-btn_default">辅助操作</a>  -->
            </p>
        </div>
        <div class="weui-msg__extra-area">
            <div class="weui-footer">
                <p class="weui-footer__links">
                    <a href="javascript:void(0);" class="weui-footer__link">www.fyg.cn</a>
                </p>
                <p class="weui-footer__text">Copyright © 2008-2016 weui.io</p>
            </div>
        </div>
    </div>
</div>
	
</body>
<script type="text/javascript" class="toast js_show">
$(function (){
	$("#btn_login").on('click', function(){
		var form=$("form");
		form.submit();
	});
});

</script>
</html>